#!/srv/newsblur/venv/newsblur3/bin/python

from vendor.munin.memcached import MuninMemcachedPlugin


class MuninMemcachedItemsPlugin(MuninMemcachedPlugin):
    title = "Memcached new items stats"
    args = "--base 1000"
    vlabel = "Items"
    info = "items stats"
    fields = (
        ('total_items', dict(
            label = "items",
            info = "number of new items",
            type = "COUNTER",
        )),
    )

if __name__ == "__main__":
    MuninMemcachedItemsPlugin().run()
